package com.tlgen.modules.hospitalized.service.mapper;

import com.tlgen.common.base.BaseMapper;
import com.tlgen.modules.hospitalized.domain.Record;
import com.tlgen.modules.hospitalized.service.dto.RecordDto;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**功能描述：病历实体映射
 */
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)//未映射的目标属性被忽略
public interface RecordMapper extends BaseMapper<RecordDto, Record> {
    RecordDto toDto(String name);
}
